/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Nursing Service Related Providers Provider Codes Member1</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * @see org.hl7.v3.V3Package#getNursingServiceRelatedProvidersProviderCodesMember1()
 * @model extendedMetaData="name='NursingServiceRelatedProvidersProviderCodes_._member_._1'"
 * @generated
 */
public enum NursingServiceRelatedProvidersProviderCodesMember1 implements Enumerator {
	/**
	 * The '<em><b>370000000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_370000000X_VALUE
	 * @generated
	 * @ordered
	 */
	_370000000X(0, "_370000000X", "370000000X"),

	/**
	 * The '<em><b>372600000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_372600000X_VALUE
	 * @generated
	 * @ordered
	 */
	_372600000X(1, "_372600000X", "372600000X"),

	/**
	 * The '<em><b>372500000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_372500000X_VALUE
	 * @generated
	 * @ordered
	 */
	_372500000X(2, "_372500000X", "372500000X"),

	/**
	 * The '<em><b>374T00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_374T00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_374T00000X(3, "_374T00000X", "374T00000X"),

	/**
	 * The '<em><b>373H00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_373H00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_373H00000X(4, "_373H00000X", "373H00000X"),

	/**
	 * The '<em><b>374U00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_374U00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_374U00000X(5, "_374U00000X", "374U00000X"),

	/**
	 * The '<em><b>376J00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_376J00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_376J00000X(6, "_376J00000X", "376J00000X"),

	/**
	 * The '<em><b>376K00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_376K00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_376K00000X(7, "_376K00000X", "376K00000X"),

	/**
	 * The '<em><b>376G00000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_376G00000X_VALUE
	 * @generated
	 * @ordered
	 */
	_376G00000X(8, "_376G00000X", "376G00000X");

	/**
	 * The '<em><b>370000000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>370000000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_370000000X
	 * @model literal="370000000X"
	 * @generated
	 * @ordered
	 */
	public static final int _370000000X_VALUE = 0;

	/**
	 * The '<em><b>372600000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>372600000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_372600000X
	 * @model literal="372600000X"
	 * @generated
	 * @ordered
	 */
	public static final int _372600000X_VALUE = 1;

	/**
	 * The '<em><b>372500000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>372500000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_372500000X
	 * @model literal="372500000X"
	 * @generated
	 * @ordered
	 */
	public static final int _372500000X_VALUE = 2;

	/**
	 * The '<em><b>374T00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>374T00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_374T00000X
	 * @model literal="374T00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _374T00000X_VALUE = 3;

	/**
	 * The '<em><b>373H00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>373H00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_373H00000X
	 * @model literal="373H00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _373H00000X_VALUE = 4;

	/**
	 * The '<em><b>374U00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>374U00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_374U00000X
	 * @model literal="374U00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _374U00000X_VALUE = 5;

	/**
	 * The '<em><b>376J00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>376J00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_376J00000X
	 * @model literal="376J00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _376J00000X_VALUE = 6;

	/**
	 * The '<em><b>376K00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>376K00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_376K00000X
	 * @model literal="376K00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _376K00000X_VALUE = 7;

	/**
	 * The '<em><b>376G00000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>376G00000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_376G00000X
	 * @model literal="376G00000X"
	 * @generated
	 * @ordered
	 */
	public static final int _376G00000X_VALUE = 8;

	/**
	 * An array of all the '<em><b>Nursing Service Related Providers Provider Codes Member1</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final NursingServiceRelatedProvidersProviderCodesMember1[] VALUES_ARRAY =
		new NursingServiceRelatedProvidersProviderCodesMember1[] {
			_370000000X,
			_372600000X,
			_372500000X,
			_374T00000X,
			_373H00000X,
			_374U00000X,
			_376J00000X,
			_376K00000X,
			_376G00000X,
		};

	/**
	 * A public read-only list of all the '<em><b>Nursing Service Related Providers Provider Codes Member1</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<NursingServiceRelatedProvidersProviderCodesMember1> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Nursing Service Related Providers Provider Codes Member1</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static NursingServiceRelatedProvidersProviderCodesMember1 get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			NursingServiceRelatedProvidersProviderCodesMember1 result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Nursing Service Related Providers Provider Codes Member1</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static NursingServiceRelatedProvidersProviderCodesMember1 getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			NursingServiceRelatedProvidersProviderCodesMember1 result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Nursing Service Related Providers Provider Codes Member1</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static NursingServiceRelatedProvidersProviderCodesMember1 get(int value) {
		switch (value) {
			case _370000000X_VALUE: return _370000000X;
			case _372600000X_VALUE: return _372600000X;
			case _372500000X_VALUE: return _372500000X;
			case _374T00000X_VALUE: return _374T00000X;
			case _373H00000X_VALUE: return _373H00000X;
			case _374U00000X_VALUE: return _374U00000X;
			case _376J00000X_VALUE: return _376J00000X;
			case _376K00000X_VALUE: return _376K00000X;
			case _376G00000X_VALUE: return _376G00000X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private NursingServiceRelatedProvidersProviderCodesMember1(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //NursingServiceRelatedProvidersProviderCodesMember1
